# -*- mode: Makefile; -*-
# $Id: Makefile.conf.in,v 1.6 2003/09/16 21:54:04 grumbel Exp $
#
# This file contains all compiler options used to build ClanLib.
#

PACKAGES = $(patsubst %,%-2.3,$(LIBS))
# CXXFLAGS += `pkg-config --cflags $(PACKAGES)` -mthreads
CXXFLAGS += `pkg-config --cflags $(PACKAGES)` -pthread 

#EXAMPLE_BIN contains list of example binaries to build

all: $(EXAMPLE_BIN)

$(EXAMPLE_BIN): $(OBJF)
	$(CXX) $(CXXFLAGS) $(OBJF) -o $(EXAMPLE_BIN) `pkg-config --libs $(PACKAGES)` $(EXTRA_LIBS)

clean:
	rm -f $(OBJF) $(EXAMPLE_BIN)

%.o : %.cpp
	$(CXX) $(CXXFLAGS) -c $< -o $@

#configuration settings

